package com.nuhu.service;

import com.nuhu.dao.ServiceOnlineRecordDao;
import com.nuhu.pojo.CustomerServiceRecord;
import com.nuhu.service.impl.ServiceOnlineServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceOnlineRecordService implements ServiceOnlineServiceImpl {
    @Autowired
    ServiceOnlineRecordDao serviceOnlineRecordDao;

    @Override
    public void serviceOnlineRecordInsert(CustomerServiceRecord customerServiceRecord) {
        serviceOnlineRecordDao.serviceOnlineRecordInsert(customerServiceRecord);
    }

    @Override
    public CustomerServiceRecord getServiceOnlineRecord() {
        return serviceOnlineRecordDao.getServiceOnlineRecord();
    }
}
